@import '../common/variables.scss';
#personal_center{
  padding-bottom: 40px;
  min-height: inherit;
  >div{
    max-width: 75vw;
    margin: 0 auto;
    margin-top: 56px;
    padding-top: 32px;
  }
  .personal_category{
    background-color: #ffffff;
    width: 192px;
    position: fixed;
    top: 88px;
    >p{
      height: 56px;
      line-height: 56px;
      color: #303030;
      font-size: 14px;
      padding-left: 16px;
      cursor: pointer;
      &.active{
        font-weight: bold;
      }
    }
  }
  .personal_content{
    margin-left: 232px;
    >div{
      >p{
        color: #303030;
        font-weight: bold;
        font-size: 16px;
        margin-bottom: 16px;
      }
    }

  }

  
  .account_details{
    position: relative;
    background-color: #ffffff;
    padding: 0px 32px 40px;
    // height: 644px;
    height: calc(100vh - 88px - 234px - 41px - 40px);
    min-height: 400px;
    .account_details_form_item{
      display: flex;
      align-items: center;
  
    }
    .el-form-item__label{
      color: #666666;
      font-size: 14px;
      padding: 24px 0 8px 0;
      line-height: 1;
    }

    .account_details_form_item{
      .el-form-item{
        width: 50%;
        margin-bottom: 0;
        &:first-of-type{
          margin-right: 32px;
        }
        &:last-of-type{
          margin-left: 32px;
        }
      } 
    }
    .account_details_button{
      text-align: center;
      position: absolute;
      bottom: 40px;
      width: 100%;
      left: 32px;
      .el-button{
        width: 216px;
        height: 40px;
        background-color: #303030;
        border: none;
        color: #FFFFFF;
        font-size: 14px;
        &:hover{
          background-color: #666666;
        }
        margin: 0 auto;
      }
    } 
  }
  .personal_menu{
    display: none;
  }


}
 #rampow  #app .el-menu.personal_menu{
  position: fixed;
  top: $menuHeight !important;
  width: 100%;
  padding-left: 20px;
  background-color: transparent;
  background-color: #ffffff;
  z-index: 20;
  border-bottom: 1px solid #EBEAEA !important;
  >.el-submenu{
    >.el-submenu__title{
      color: #303030;
      font-size: 14px;
      font-weight: 700;
      >.el-submenu__icon-arrow{
        font-size: 16px;
        color: #303030;
        font-size: 16px;
        color: #303030;
        position: absolute;
        right: 20px;
        top: 50%;
        margin-top: -8px;
        margin-left: 0;
      }
    }

  }
  .el-submenu ,.el-submenu__title {
    background-color: transparent;
    height: 44px;
    line-height: 44px;
    width: 100%;
  }

}
#rampow .el-menu--horizontal.person_center{
  left: 0 !important;
  width: 100%;
  top: $menuPhoneHeight + 44px !important;
  z-index: 20 !important;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.06);
  ul{
    margin-top: 0;
    left: 0;
    padding: 8px 20px;
    .el-menu-item{
      height: 56px;
      line-height: 56px;
      color: #303030;
      font-size: 14px;
      padding: 0;
      &:hover{ background-color: transparent;}
      &.is-active{
        font-weight: 700;
      }

    }
  }

}

#rampow #app  #personal_center{
  @include respond('768'){
    .personal_menu{
      display: block;
      top: $menuPhoneHeight !important;
    }
    >div{
      max-width: 100%;
      padding-top: 0px;
    }
    .personal_category{
      display: none;
    }
    .personal_content{
      margin-left: 0;
      margin: $menuPhoneHeight + 44px 0px 0;
      // padding-top: 16px;
      .title{
        display: none;
      }
    }
    .account_details {
      padding: 0 16px 24px;
      height: auto;
      
      .account_details_form_item{
        display: block;
        .el-form-item{
          width: 100%;
          &:first-of-type{
            margin-right: 0;
            .el-form-item__label{
              padding: 20px 0 4px 0;
            }
          }
          &:last-of-type{
            margin-left: 0;
          }
        }
      }
      .account_details_button{
        left: 0;
        position: relative;
        margin-top: 32px;
        bottom: 0;
        .el-button{
          width: 100%;
        }
      }
    }


  }
}

// 我的权益 pc端

.my_benefits.pcShow{
  display: flex;

  .my_benefits_item{
    position: relative;
    width: 31.1%;
    margin-right: 40px;
    background-color: #ffffff;
    padding: 32px 24px 40px ;
    text-align: center;
    height: calc(100vh - 88px - 234px - 41px - 40px);
    min-height: 500px;
    &:nth-of-type(3){
      margin-right: 0px;
    }
    >p{
      color: #303030;
      font-size: 22px;
      font-weight: bold;
      margin-bottom: 32px;
    }
    >div.my_benefits_item_content{
      >div{
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 24px;
        .my_benefits_left{
          width: 100%;
          display: flex;
          align-items: center;
          >p{         
            width: calc(100% - 40px);
            font-size: 14px;
            color: #303030;
            text-align: left;
            padding: 0 25px 0 16px;
            font-weight: normal;
            margin-bottom: 0px;
          }
        }
        .my_benefits_right{
          width: 16px;
        }
        .svg_icon{
          width: 40px;
          height: 40px;
          border-radius: 50%;
        }
        .svg_yes,.svg_no{
          width: 16px;
          height: 16px;
        }
        &.disabled{
          .my_benefits_left{
            p{
              color: #CCCCCC;
            }
          }
        }
      }
     
     

    }
    >div.my_benefits_button{
      position: absolute;
      bottom: 40px;
      left: 0;
      width: 100%;
      padding: 0 24px;
      >p{
        color: #666666;
        font-size: 12px;
        margin-bottom: 16px;
      }
      .el-button{
        width: 100%;
        height: 40px;
        background-color: #303030;
        border: none;
        color: #FFFFFF;
        font-size: 14px;
        &:hover{
          background-color: #666666;
        }
      }
    }
  }


}


// 我的权益 手机端
.my_benefits.phoneShow{
  padding-top: 20px;
  .my_benefits_item{
    width: 100%;
    height: auto;
    // padding: 24px 16px 0px;
    font-size: 0;
    &.swiper-slide:nth-child(2) {
      // width: calc(100% - 24px);
    }
    &:nth-of-type(1){
      // width: calc(100% - 32px);
      // margin-left: 20px;
    }
    &:nth-of-type(3){
      // width: calc(100% - 32px);
    }
    div.my_benefits_item_content > div{
      &:last-child{
        padding-bottom: 24px;
      }

    }
    >div.my_benefits_item_title{
      position: relative;
      text-align: center;
      overflow: hidden;
      .el-image{
        width: 100%;
      }
      p{
        position: absolute;
        z-index: 10;
        font-size: 18px;
        color: #fff;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;

      }
     
    }
     >div.my_benefits_item_content{

      overflow: hidden;
      position: relative;
    
      >div{
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px 24px;
        background-color: #fff;
        .my_benefits_left{
          width: 100%;
          display: flex;
          align-items: center;
          >p{         
            width: calc(100% - 40px);
            font-size: 14px;
            color: #303030;
            text-align: left;
            padding: 0 25px 0 16px;
            font-weight: normal;
            margin-bottom: 0px;
          }
        }
        .my_benefits_right{
          width: 16px;
        }
        .svg_icon{
          width: 40px;
          height: 40px;
          border-radius: 50%;
        }
        .svg_yes,.svg_no{
          width: 20px;
          height: 20px;
        }
        &.disabled{
          .my_benefits_left{
            p{
              color: #CCCCCC;
            }
          }
        }
      }
    }
    div.my_benefits_button{
      position: relative;
      margin-top: 32px;
      bottom: 0;
      padding: 0 0 24px;
    }
   
  }
  
  .user_rights{
    width: 100%;
    padding-top: 40px;
    overflow: hidden;
    &:after{ 
     
      width: 110%;
      height: 100px;
      position: absolute;
      left: -5%;
      top: -0px;
      z-index: 1; content: ''; border-radius:  50% 50% 0 0;   background-color: #fff;;
    }
    &.active{
      z-index: 10;
      opacity: 1;
      &:after{ 
        box-shadow: 0 -6px 6px 0 rgba(135, 147, 167, 0.1);
      }
    }
    >div.my_benefits_item_content{
      overflow: hidden;
      position: relative;
      z-index: 4;    
      >div{
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px 24px;
        background-color: #fff;
        .my_benefits_left{
          width: 100%;
          display: flex;
          align-items: center;
          >p{         
            width: calc(100% - 40px);
            font-size: 14px;
            color: #303030;
            text-align: left;
            padding: 0 25px 0 16px;
            font-weight: normal;
            margin-bottom: 0px;
          }
        }
        .my_benefits_right{
          width: 16px;
        }
        .svg_icon{
          width: 40px;
          height: 40px;
          border-radius: 50%;
        }
        .svg_yes,.svg_no{
          width: 20px;
          height: 20px;
        }
        &.disabled{
          .my_benefits_left{
            p{
              color: #CCCCCC;
            }
          }
        }
      }
    }
    div.my_benefits_button{
      position: relative;
      bottom: 0;
      padding: 0 20px 24px;
      background-color: #fff;
      color: #666666;
      font-size: 12px;
      a{
        width: 100%;
        .el-button{
          margin-top: 32px;
          width: 100%;
          background-color: #303030;
          color: #fff;
          border-color: #303030;
        }

      }
    }

  }

  .swiperWord{
    margin-top: -34px;

  }
 
}